import mockRequest from '@/utils/mockRequest';
import request from '@/utils/request';
enum API {
    chart="/charts",
    user='/admin/user/'
}
//对外暴露请求函数:数据可视化的
export const reqChartData = ()=>mockRequest.get(API.chart);
//用户管理的接口
export const reqUserList = (page:number,limit:number)=>request.get(API.user+`${page}/${limit}`);